package com.kimho.rollback.domain;

import java.io.Serializable;
import java.util.Date;

public class Rollback implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String over;
	private String cost_id;
	private String deal_id;
	private String staff_id;
	private String cost_type;
	private String cost_name;
	private String send_type;

	public String getSend_type() {
		if("1".equals(send_type)){
			return "自提";
		}
		else
		{
			return "送货上门";
		}
	}
	public void setSend_type(String send_type) {
		this.send_type = send_type;
	}
	public String getCost_name() {
		return cost_name;
	}
	public void setCost_name(String cost_name) {
		this.cost_name = cost_name;
	}
	private Double saf_fee;
	private String cost_brief;
	private String object_id;
	private String objid;
	private Double traff_fee;
	private Double mid_fee;
	private Double inst_fee;
	private Double oth_fee;
	private Double t_traff_fee;
	private Double t_mid_fee;
	private Double t_inst_fee;
	private Double t_oth_fee;
	private Double t_saf_fee;
	private Double t_all_fee;
	private Double t_pre_fee;
	public Double getT_pre_fee() {
		return t_pre_fee;
	}
	public void setT_pre_fee(Double t_pre_fee) {
		this.t_pre_fee = t_pre_fee;
	}
	private String from_code; 
	private String from_addr; 
	private String from_name; 
	private String from_tell; 
	private String to_code; 
	private String to_addr; 
	private String to_tell; 
	private String to_name; 
	private String from_cmp; 
	private String to_cmp; 
	private String brief; 
	private String ppice; 
	private double price;
	private double sum_fee;
	private String staff_name;
	private double all_fee;
	private String transitf;
	private String transit_id;
	private String transit_det_id;
	private String pre_fee;
	private String settle;
	private String obj_name;
	private String obj_num;
	
	public String getObj_name() {
		return obj_name;
	}
	public void setObj_name(String obj_name) {
		this.obj_name = obj_name;
	}
	public String getObj_num() {
		return obj_num;
	}
	public void setObj_num(String obj_num) {
		this.obj_num = obj_num;
	}
	public String getSettle() {
		return settle;
	}
	public void setSettle(String settle) {
		this.settle = settle;
	}
	public String getPre_fee() {
		return pre_fee;
	}
	public void setPre_fee(String pre_fee) {
		this.pre_fee = pre_fee;
	}
	public String getTransit_det_id() {
		return transit_det_id;
	}
	public void setTransit_det_id(String transit_det_id) {
		this.transit_det_id = transit_det_id;
	}
	public String getTransitf() {
		return transitf;
	}
	public void setTransitf(String transitf) {
		this.transitf = transitf;
	}
	public String getTransit_id() {
		return transit_id;
	}
	public void setTransit_id(String transit_id) {
		this.transit_id = transit_id;
	}
	public double getAll_fee() {
		return all_fee;
	}
	public void setAll_fee(double all_fee) {
		this.all_fee = this.saf_fee+this.traff_fee+this.mid_fee+this.oth_fee+this.inst_fee;
	}
	public String getOver() {
		return over;
	}
	public void setCost_type(String cost_type) {
		this.cost_type = cost_type;
	}
	public String getCost_type() {
		return cost_type;
	}
	public void setOver(String over) {
		this.over = over;
	}
	public String getCost_id() {
		return cost_id;
	}
	public void setCost_id(String cost_id) {
		this.cost_id = cost_id;
	}
	public String getDeal_id() {
		return deal_id;
	}
	public void setDeal_id(String deal_id) {
		this.deal_id = deal_id;
	}
	public String getStaff_id() {
		return staff_id;
	}
	public void setStaff_id(String staff_id) {
		this.staff_id = staff_id;
	}

	public Double getSaf_fee() {
		return saf_fee;
	}
	public void setSaf_fee(Double saf_fee) {
		this.saf_fee = saf_fee;
	}
	public String getCost_brief() {
		return cost_brief;
	}
	public void setCost_brief(String cost_brief) {
		this.cost_brief = cost_brief;
	}
	public String getObject_id() {
		return object_id;
	}
	public void setObject_id(String object_id) {
		this.object_id = object_id;
	}
	public String getObjid() {
		return objid;
	}
	public void setObjid(String objid) {
		this.objid = objid;
	}
	public Double getTraff_fee() {
		return traff_fee;
	}
	public void setTraff_fee(Double traff_fee) {
		this.traff_fee = traff_fee;
	}
	public Double getMid_fee() {
		return mid_fee;
	}
	public void setMid_fee(Double mid_fee) {
		this.mid_fee = mid_fee;
	}
	public Double getInst_fee() {
		return inst_fee;
	}
	public void setInst_fee(Double inst_fee) {
		this.inst_fee = inst_fee;
	}
	public Double getOth_fee() {
		return oth_fee;
	}
	public void setOth_fee(Double oth_fee) {
		this.oth_fee = oth_fee;
	}
	public Double getT_traff_fee() {
		return t_traff_fee;
	}
	public void setT_traff_fee(Double t_traff_fee) {
		this.t_traff_fee = t_traff_fee;
	}
	public Double getT_mid_fee() {
		return t_mid_fee;
	}
	public void setT_mid_fee(Double t_mid_fee) {
		this.t_mid_fee = t_mid_fee;
	}
	public Double getT_inst_fee() {
		return t_inst_fee;
	}
	public void setT_inst_fee(Double t_inst_fee) {
		this.t_inst_fee = t_inst_fee;
	}
	public Double getT_oth_fee() {
		return t_oth_fee;
	}
	public void setT_oth_fee(Double t_oth_fee) {
		this.t_oth_fee = t_oth_fee;
	}
	public Double getT_saf_fee() {
		return t_saf_fee;
	}
	public void setT_saf_fee(Double t_saf_fee) {
		this.t_saf_fee = t_saf_fee;
	}
	public Double getT_all_fee() {
		return t_all_fee;
	}
	public void setT_all_fee(Double t_all_fee) {
		this.t_all_fee = t_all_fee;
	}
	public String getFrom_code() {
		return from_code;
	}
	public void setFrom_code(String from_code) {
		this.from_code = from_code;
	}
	public String getFrom_addr() {
		return from_addr;
	}
	public void setFrom_addr(String from_addr) {
		this.from_addr = from_addr;
	}
	public String getFrom_name() {
		return from_name;
	}
	public void setFrom_name(String from_name) {
		this.from_name = from_name;
	}
	public String getFrom_tell() {
		return from_tell;
	}
	public void setFrom_tell(String from_tell) {
		this.from_tell = from_tell;
	}
	public String getTo_code() {
		return to_code;
	}
	public void setTo_code(String to_code) {
		this.to_code = to_code;
	}
	public String getTo_addr() {
		return to_addr;
	}
	public void setTo_addr(String to_addr) {
		this.to_addr = to_addr;
	}
	public String getTo_tell() {
		return to_tell;
	}
	public void setTo_tell(String to_tell) {
		this.to_tell = to_tell;
	}
	public String getTo_name() {
		return to_name;
	}
	public void setTo_name(String to_name) {
		this.to_name = to_name;
	}
	public String getFrom_cmp() {
		return from_cmp;
	}
	public void setFrom_cmp(String from_cmp) {
		this.from_cmp = from_cmp;
	}
	public String getTo_cmp() {
		return to_cmp;
	}
	public void setTo_cmp(String to_cmp) {
		this.to_cmp = to_cmp;
	}
	public String getBrief() {
		return brief;
	}
	public void setBrief(String brief) {
		this.brief = brief;
	}
	public String getPpice() {
		return ppice;
	}
	public void setPpice(String ppice) {
		this.ppice = ppice;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getSum_fee() {
		return sum_fee;
	}
	public void setSum_fee(double sum_fee) {
		this.sum_fee = sum_fee;
	}
	public String getStaff_name() {
		return staff_name;
	}
	public void setStaff_name(String staff_name) {
		this.staff_name = staff_name;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
}
